package com.hongdee.insurance.company.entity;

import com.hongdee.base.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author 王帅
 * @className ${CLASS_NAME}
 * @type
 * @description 保险公司对账信息实体
 * @path com.hongdee.insurance.company.entity
 * @create 2017/6/14 8:49
 **/
@Entity
@Table(name = "T_INSURANCE_COMPANY_BILL")
public class TInsuranceCompanyBill extends BaseEntity {

    @Column(name = "insurance_company_id", length = 32, columnDefinition = " VARCHAR(32) COMMENT '保险公司ID' ")
    private String insuranceCompanyId;

    @Column(name = "insurance_commission", length = 32, columnDefinition = " VARCHAR(32) COMMENT '保险公司佣金' ")
    private String insuranceCommission;

    @Column(name = "blance_date", length = 32, columnDefinition = " VARCHAR(32) COMMENT '结算时间' ")
    private String blanceDate;

    @Column(name = "blance_start_date", length = 32, columnDefinition = " VARCHAR(32) COMMENT '结算开始时间' ")
    private String blanceStartDate;

    @Column(name = "blance_stop_date", length = 32, columnDefinition = " VARCHAR(32) COMMENT '结算结束时间' ")
    private String blanceStopDate;

    @Column(name = "total_amount", length = 32, columnDefinition = " VARCHAR(32) COMMENT '总金额' ")
    private String totalAmount;

    @Column(name = "total_poundage_amount", length = 32, columnDefinition = " VARCHAR(32) COMMENT '总佣金额' ")
    private String totalPoundageAmount;

    @Column(name = "blance_poundage_amount", length = 32, columnDefinition = " VARCHAR(32) COMMENT '结算佣金金额' ")
    private String blancePoundageAmount;

    @Column(name = "insurance_total", length = 11, columnDefinition = " INT(11) COMMENT '保险保单数' ")
    private String insuranceTotal;

    @Column(name = "blance_type", length = 1, columnDefinition = " INT(1) COMMENT '结算状态 0未结算  1 已结算' ")
    private String blanceType;

    @Column(name = "company_id", length = 32, columnDefinition = " VARCHAR(32) COMMENT '所属公司' ")
    private String companyId;

    /**
     * 发票号
     */
    @Column(name = "invoice_number", length = 32, columnDefinition = " VARCHAR(32) COMMENT '发票号' ")
    private String invoiceNumber;
    /**
     * 开票日期
     */
    @Column(name = "billing_date", length = 32, columnDefinition = " VARCHAR(32) COMMENT '开票日期' ")
    private String billingDate;
    /**
     * 开票金额
     */
    @Column(name = "billing_price", length = 32, columnDefinition = " VARCHAR(32) COMMENT '开票金额' ")
    private String billingPrice;

    /**
     *
     */
    @Column(name = "adjust_price_loss", length = 32, columnDefinition = "VARCHAR(32) COMMENT '调整金额 负的 保险公司欠4s店'")
    private String adjustPriceLoss;

    @Column(name = "adjust_price", length = 32, columnDefinition = "VARCHAR(32) COMMENT '调整金额 正 保险公司多给4s店'")
    private String adjustPrice;

    @Column(name = "tax",length = 32,columnDefinition = "VARCHAR(32) COMMENT '税，代表着其上传保单内的金额是否含税'")
    private String tax;

    @Column(name = "in_tax",length = 1,columnDefinition = "VARCHAR(1) COMMENT '是否包含税，0不包含 1包含'")
    private String inTax;


    public String getTax() {
        return tax;
    }

    public void setTax(String tax) {
        this.tax = tax;
    }

    public String getInTax() {
        return inTax;
    }

    public void setInTax(String inTax) {
        this.inTax = inTax;
    }

    public String getAdjustPriceLoss() {
        return adjustPriceLoss;
    }

    public void setAdjustPriceLoss(String adjustPriceLoss) {
        this.adjustPriceLoss = adjustPriceLoss;
    }

    public String getAdjustPrice() {
        return adjustPrice;
    }

    public void setAdjustPrice(String adjustPrice) {
        this.adjustPrice = adjustPrice;
    }

    public String getInvoiceNumber() {
        return invoiceNumber;
    }

    public void setInvoiceNumber(String invoiceNumber) {
        this.invoiceNumber = invoiceNumber;
    }

    public String getBillingDate() {
        return billingDate;
    }

    public void setBillingDate(String billingDate) {
        this.billingDate = billingDate;
    }

    public String getBillingPrice() {
        return billingPrice;
    }

    public void setBillingPrice(String billingPrice) {
        this.billingPrice = billingPrice;
    }

    public String getInsuranceCompanyId() {
        return insuranceCompanyId;
    }

    public void setInsuranceCompanyId(String insuranceCompanyId) {
        this.insuranceCompanyId = insuranceCompanyId;
    }

    public String getInsuranceCommission() {
        return insuranceCommission;
    }

    public void setInsuranceCommission(String insuranceCommission) {
        this.insuranceCommission = insuranceCommission;
    }

    public String getBlanceDate() {
        return blanceDate;
    }

    public void setBlanceDate(String blanceDate) {
        this.blanceDate = blanceDate;
    }

    public String getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(String totalAmount) {
        this.totalAmount = totalAmount;
    }

    public String getInsuranceTotal() {
        return insuranceTotal;
    }

    public void setInsuranceTotal(String insuranceTotal) {
        this.insuranceTotal = insuranceTotal;
    }

    public String getBlanceType() {
        return blanceType;
    }

    public void setBlanceType(String blanceType) {
        this.blanceType = blanceType;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getBlanceStartDate() {
        return blanceStartDate;
    }

    public void setBlanceStartDate(String blanceStartDate) {
        this.blanceStartDate = blanceStartDate;
    }

    public String getBlanceStopDate() {
        return blanceStopDate;
    }

    public void setBlanceStopDate(String blanceStopDate) {
        this.blanceStopDate = blanceStopDate;
    }

    public String getTotalPoundageAmount() {
        return totalPoundageAmount;
    }

    public void setTotalPoundageAmount(String totalPoundageAmount) {
        this.totalPoundageAmount = totalPoundageAmount;
    }

    public String getBlancePoundageAmount() {
        return blancePoundageAmount;
    }

    public void setBlancePoundageAmount(String blancePoundageAmount) {
        this.blancePoundageAmount = blancePoundageAmount;
    }
}
